<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<script src="../js/vue.js" type="text/javascript" charset="utf-8"></script>
		<title>前后端调用-delete</title>
		<script src="../js/axios.js" type="text/javascript" charset="utf-8"></script>
	</head>
	<body>
		<div id="app">
			<h1>前后端调用-delete测试</h1>
		</div>
		<script> 
				/**
				 * delete测试1
				 * 		需求:删除id=232的数据
				 */
				let url = "http://localhost:8090/axios/deleteById?id=235"
				axios.delete(url).then(
					promise =>{
						console.log(promise.data)
					}
				)
		</script>
	</body>
</html>
